import numpy as np
a = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])
b = a[0][0:4:2]+a[2][0:4:2]
print(sum(b)+5)